An equivalence relation on set on a set X is a relation ~
on the elements of X which satisfies the following properties:
- reflexive : ∀x∈X,x∼x
- symmetric: ∀x∈X,∀y∈Y,x∼y⟹y∼x
- transitive ∀x∈X,∀y∈Y,∀z∈Z,x∼y∧y∼z⟹x∼z
- Equivalence class of x is Ex={y∈X:y∼x}=xˉ
Partition: let subsets of a set x notices by p, the powerset of x by P
- ⋃p∈P p=x
- ∀p1,p2∈P,p1∧p2=∅
- Two different equivalence class has no common elements
- assume two different equivalence class has common elements
- by transitivity, two class are the same
- contradiction with the assumption
- Modular has equivalence relation:
- ∀a∈Z,a≡a(mod m)
- m∣a−a
- ∀a,b∈Z,a≡b(mod m)⟹b≡a(mod m)
- m∣a−b⟹m∣b−a
- ∀a,b,c∈Z,a≡b(mod m)∧b≡c(mod m)⟹a≡c(mod m)
- m∣a−b,m∣b−c
- a−b=k1m,b−c=k2m
- a−b+b−c=(k1+k2)m
- a≡c(mod m)
- Ex={y∈Z:y≡x(mod m)}
- xˉ+yˉ={a+b:a+b≡x+y(mod m)}
- a∈Z,b∈Z:a≡x(mod m),b≡y(mod m)
- Similarly xˉ×yˉ={ab:ab≡xy(mod m)}